noteOpNoThrow

open fun noteOpNoThrow(@NonNull context: @NonNull Context, @NonNull op: @NonNull String, uid: Int, @NonNull packageName: @NonNull String): Int(source)

Like noteOp but instead of throwing a SecurityException it returns MODE_ERRORED.

Compatibility

  • On API 18 and lower, this method always returns MODE_IGNORED